home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
DTRDI.z
/
DTRDI
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
DDDDTTTTRRRRDDDDIIII((((3333FFFF)))) DDDDTTTTRRRRDDDDIIII((((3333FFFF))))
NNNNAAAAMMMMEEEE
DTRDI - DTRDI computes the determinant and inverse of a double
precision triangular matrix.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE DTRDI(T,LDT,N,DET,JOB,INFO)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
TTTT DOUBLE PRECISION(LDT,N)
T contains the triangular matrix. The zero
elements of the matrix are not referenced, and
the corresponding elements of the array can be
used to store other information.
LLLLDDDDTTTT INTEGER
LDT is the leading dimension of the array T.
NNNN INTEGER
N is the order of the system.
JJJJOOOOBBBB INTEGER
= 010 no det, inverse of lower triangular.
= 011 no det, inverse of upper triangular.
= 100 det, no inverse.
= 110 det, inverse of lower triangular.
= 111 det, inverse of upper triangular. On Return
TTTT inverse of original matrix if requested.
Otherwise unchanged.
DDDDEEEETTTT DOUBLE PRECISION(2)
determinant of original matrix if requested.
Otherwise not referenced.
DETERMINANT = DET(1) * 10.0**DET(2)
with 1.0 .LE. DABS(DET(1)) .LT. 10.0
or DET(1) .EQ. 0.0 .
IIIINNNNFFFFOOOO INTEGER
INFO contains zero if the system is nonsingular
and the inverse is requested.
Otherwise INFO contains the index of
a zero diagonal element of T. LINPACK. This version dated 08/14/78 .
Cleve Moler, University of New Mexico, Argonne National Lab. Subroutines
and Functions BLAS DAXPY,DSCAL Fortran DABS,MOD
PPPPaaaaggggeeee 1111